package com.ruoyi.shopping.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城订单合并下单对象 jy_mall_order_mesh
 *
 * @author ruoyi
 * @date 2022-06-09
 */
@ApiModel
public class MallOrderMesh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

  /*  private List<MallOrder> dataValue;

    public List<MallOrder> getDataValue() {
        return dataValue;
    }

    public void setDataValue(List<MallOrder> dataValue) {
        this.dataValue = dataValue;
    }
*/
    private transient String combineOrder;
    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    @ApiModelProperty(value = "订单号")
    private String orderId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 下单人id */
    @Excel(name = "下单人id")
    @ApiModelProperty(value = "下单人id")
    private Long memberId;

    /** 获取积分数 */
    @Excel(name = "获取积分数")
    @ApiModelProperty(value = "获取积分数")
    private Long gainIntegral;

    /** 使用积分数 */
    @Excel(name = "使用积分数")
    @ApiModelProperty(value = "使用积分数")
    private Long useIntegral;

    /** 支付状态 */
    @Excel(name = "支付状态")
    @ApiModelProperty(value = "支付状态")
    private String payState;
    /** 订单实际支付金额 */
    private BigDecimal payPrice;
    /** 支付成功记录单号 */
    @Excel(name = "支付成功记录单号")
    @ApiModelProperty(value = "支付成功记录单号")
    private String payOrderNo;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    /** 支付方式 */
    @Excel(name = "支付方式")
    @ApiModelProperty(value = "支付方式")
    private String payType;
    private String commentState;
    private String shipState;
    private String aftersaleState;

    private String platformRemark;
    private String customerRemark;
    //订单状态
    private String orderState;

    public String getCombineOrder() {
        return combineOrder;
    }

    public void setCombineOrder(String combineOrder) {
        this.combineOrder = combineOrder;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }


    public String getPlatformRemark() {
        return platformRemark;
    }

    public void setPlatformRemark(String platformRemark) {
        this.platformRemark = platformRemark;
    }

    public String getCustomerRemark() {
        return customerRemark;
    }

    public void setCustomerRemark(String customerRemark) {
        this.customerRemark = customerRemark;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public String getShipState() {
        return shipState;
    }

    public void setShipState(String shipState) {
        this.shipState = shipState;
    }

    public String getAftersaleState() {
        return aftersaleState;
    }

    public void setAftersaleState(String aftersaleState) {
        this.aftersaleState = aftersaleState;
    }

    public String getCommentState() {
        return commentState;
    }

    public void setCommentState(String commentState) {
        this.commentState = commentState;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setGainIntegral(Long gainIntegral)
    {
        this.gainIntegral = gainIntegral;
    }

    public Long getGainIntegral()
    {
        return gainIntegral;
    }
    public void setUseIntegral(Long useIntegral)
    {
        this.useIntegral = useIntegral;
    }

    public Long getUseIntegral()
    {
        return useIntegral;
    }
    public void setPayState(String payState)
    {
        this.payState = payState;
    }

    public String getPayState()
    {
        return payState;
    }
    public void setPayOrderNo(String payOrderNo)
    {
        this.payOrderNo = payOrderNo;
    }

    public String getPayOrderNo()
    {
        return payOrderNo;
    }
    public void setPayTime(Date payTime)
    {
        this.payTime = payTime;
    }

    public Date getPayTime()
    {
        return payTime;
    }
    public void setPayType(String payType)
    {
        this.payType = payType;
    }

    public String getPayType()
    {
        return payType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("name", getName())
            .append("memberId", getMemberId())
            .append("gainIntegral", getGainIntegral())
            .append("useIntegral", getUseIntegral())
            .append("payState", getPayState())
            .append("payOrderNo", getPayOrderNo())
            .append("payTime", getPayTime())
            .append("payType", getPayType())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
